﻿using System;
namespace Gift.Model
{
    /// <summary>
    /// tbGoods:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class tbGoods
    {
        public tbGoods()
        { }
        #region Model
        private int _id;
        private string _category;
        private int _brand;
        private int _goodstype;
        private string _goodsname;
        private string _goodsno;
        private string _origin;
        private bool _isbest = true;
        private bool _isnew = false;
        private bool _istopselling = false;
        private bool _isshelves = true;
        private bool _ispromote = false;
        private bool _isuserdiscount = true;
        private bool _isfromfreight;
        private int _freighttemplate;
        private bool _isorderfromfreight;
        private bool _isdiscount;
        private bool _istotalreduce;
        private bool _isgifts;
        private bool _issendintegral;
        private string _keywords;
        private string _description;
        private string _goodsremark;
        private int? _creator;
        private DateTime _createtime = DateTime.Now;
        private DateTime _modifytime = DateTime.Now;
        int _companyId;

        public int CompanyId
        {
            get { return _companyId; }
            set { _companyId = value; }
        }

        private bool _isProfShelves = false;

        public bool isProfShelves
        {
            get { return _isProfShelves; }
            set { _isProfShelves = value; }
        }
        private int _professionType;

        public int professionType
        {
            get { return _professionType; }
            set { _professionType = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string category
        {
            set { _category = value; }
            get { return _category; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int brand
        {
            set { _brand = value; }
            get { return _brand; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int goodsType
        {
            set { _goodstype = value; }
            get { return _goodstype; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string goodsName
        {
            set { _goodsname = value; }
            get { return _goodsname; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string goodsNo
        {
            set { _goodsno = value; }
            get { return _goodsno; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string origin
        {
            set { _origin = value; }
            get { return _origin; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool isBest
        {
            set { _isbest = value; }
            get { return _isbest; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool isNew
        {
            set { _isnew = value; }
            get { return _isnew; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool isTopSelling
        {
            set { _istopselling = value; }
            get { return _istopselling; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool isShelves
        {
            set { _isshelves = value; }
            get { return _isshelves; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool isPromote
        {
            set { _ispromote = value; }
            get { return _ispromote; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool isUserDiscount
        {
            set { _isuserdiscount = value; }
            get { return _isuserdiscount; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool isFromFreight
        {
            set { _isfromfreight = value; }
            get { return _isfromfreight; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int freightTemplate
        {
            set { _freighttemplate = value; }
            get { return _freighttemplate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool isOrderFromFreight
        {
            set { _isorderfromfreight = value; }
            get { return _isorderfromfreight; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool isDiscount
        {
            set { _isdiscount = value; }
            get { return _isdiscount; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool isTotalReduce
        {
            set { _istotalreduce = value; }
            get { return _istotalreduce; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool isGifts
        {
            set { _isgifts = value; }
            get { return _isgifts; }
        }
        /// <summary>
        /// 
        /// </summary>
        public bool isSendIntegral
        {
            set { _issendintegral = value; }
            get { return _issendintegral; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string keywords
        {
            set { _keywords = value; }
            get { return _keywords; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string description
        {
            set { _description = value; }
            get { return _description; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string goodsRemark
        {
            set { _goodsremark = value; }
            get { return _goodsremark; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? creator
        {
            set { _creator = value; }
            get { return _creator; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime createTime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime modifyTime
        {
            set { _modifytime = value; }
            get { return _modifytime; }
        }

        #endregion Model

    }
}

